So we need an NPC that's going to work for our game, for our zombie game.
He's got to be able to defend himself because they're zombies and he's got to be a little bit of a bad
guy to make the game interesting.
So I made Chuck Norris here.
Chuck Norris If you get too close, he's going to run up boom and he's going to kick you and you're
going to fly away.
And it does damage.
So every kick does 30 points of damage.
I thought that would be pretty cool.
Let's go ahead and get started.
All right.
So for my Chuck Norris, I'm going to use Cletus because he already has a follow script on them.
I'll put him in the resources so you can download them to your computer and import them into the game
if you don't have them or if you didn't get at work.
And I'm going to make sure collisions are off and then I'm going to duplicate Cletus.
I'm going to do Control D and now we have to.
Cletus Let's go ahead and drag him out of the way.
Remember, he has a follow script, so we want them far enough ways that this guy isn't messing us up
when we're testing our game.
All right, let's call this Cletus Chuck Norris, because I already have a chuck from my demo.
So this is Chuck Norris.
Oh, I got a little slash there.
Hold on.
Let me get rid of that.
All right, So Chuck Norris is pretty cool and he needs to wear a black shirt.
So I'm going to open up Chuck Norris.
Body color's at torso color.
Maybe like.
Like black.
There you go.
And we'll put glasses in a hat on them later.
Let's get the animation going.
So I'm going to center in on Chuck here, and then we're going to go to Avatar animation editor.
We'll click on Chuck.
Chuck Norris.
And let's call this animation kick.
Nice.
Now the kick animation has to be action.
So if we go, these three dots go down the set animation priority.
I know you can't see these bottom ones.
That's fine.
Action is sufficient.
There we go.
And we'll save that animation and it should be inside Chuck Norris.
So there's Chuck Norris and saves.
There's our kick.
All right.
Let's get a little bit of better angle on Chuck here for our animation.
I think that'll work.
Click here to continue using the animation editor.
Nice.
And we have our scrubber bar at the Zero Frame.
This is in zero in frame seconds.
That's good.
Let's click on his upper right leg.
And I'm just going to push on it a little bit.
I have this set to 15 degree increments on the rotate, so I have rotate selected 15 degrees.
If I push on it a little bit, it's not going to move.
Oh, it did move.
That's all right.
If I move it back, I'm still going to get the key frame.
All right.
Now I'm going to go out to maybe the third frame.
Move that leg up into the kick position, the upper right leg.
That'll work.
And grab the foot, maybe.
Point the point the foot a little bit.
Nice.
And let's get that right.
Lower arm.
Just bring it up for some defense.
Maybe how that rotated in a little bit.
Oh, that was his hand.
Is that his hand?
That's his.
That's what I want.
Had to go up.
Harry, go.
And we'll get the other arm lower, arm lower.
Arm's fine.
And maybe just make it come in a little bit.
Nice.
All right.
What else do we want?
Oh, how about let's lift them up a little bit.
So I hit the torso.
Go to move.
Pick them up a bit.
Nice.
Now, trying to get this lower leg is really hard.
So this is the left lower leg.
If you have trouble getting something, go to the plus.
Go to that left lower leg.
Right, left, lower leg.
Here it is.
As arm.
Sorry.
Left.
Lower leg.
There it is.
And that's those are the values.
You don't need to open it up.
You just need to select it.
And then I'll go to rotate because once I selected it here, it updates here.
I'll just do my rotate on that, give it a little mario type action.
I think that'll work.
Let's see what it's like when I play it.
Kind of quick.
That's all right.
You want to hold it for a second?
Let's do that.
Well, a frame maybe.
Copy selected.
And then we'll do paste keyframes.
Boom.
Yeah, that'll be good.
All right, let's save it.
Hit the three dots.
Save.
Then we'll hit the three dots again, make sure that the animation priority is action or it won't work,
it won't overtake the movement.
And then we're going to go to publish to roadblocks.
And I'm going to keep it as kick.
I'll hit submit.
And we're going to get this ID, We're going to get that ID right there.
Just hit those two boxes.
Boom.
Got it.
Close.
Nice.
Now on the move, NPC.
See?
Let's go ahead and hit the plus I animation.
I'm going to call this kick in in.
There you go.
And then under the animation ID on the kick and m a right click.
Paste.
There's my ID when I hit the enter.
We're going to get the roadblocks.
Asset ID prefix.
Prepend.